Class java.net.SocketException
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class java.net.SocketException

Object
   |
   +----Throwable
           |
           +----Exception
                   |
                   +----IOException
                           |
                           +----java.net.SocketException

public class SocketException
extends IOException
Thrown to indicate that there is an error in the underlying protocol, such as a TCP error.

Version:
1.9, 07/01/98
Author:
Jonathan Payne
Since:
JDK1.0

Constructor Index

 o java.net.SocketException(String)
Constructs a new ProtocolException with the specified detail message.
 o java.net.SocketException()
Constructs a new ProtocolException with no detail message.

Constructors

 o SocketException
public SocketException(String msg)
Constructs a new ProtocolException with the specified detail message.

Parameters:
host - the detail message.
Since:
JDK1.0
 o SocketException
public SocketException()
Constructs a new ProtocolException with no detail message.

Since:
JDK1.0

All Packages  Class Hierarchy  This Package  Previous  Next  Index